package com.kingdee.eas.fi.cas.app;

import java.sql.Timestamp;
import java.util.Set;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context; 
import com.kingdee.eas.common.EASBizException;
import com.kingdee.eas.fm.common.FMHelper;
import com.kingdee.eas.util.app.DbUtil;

public class PaymentBillControllerBeanEx extends PaymentBillControllerBean {

	protected void _pay(Context ctx, Set idSet)throws BOSException, EASBizException
	{
		super._pay(ctx, idSet);
		 String ids = FMHelper.setTran2String(idSet);
	     String sql = "UPDATE T_CAS_PaymentBill SET CFPaymentBillDate = ? WHERE FID IN " + ids; 
	     Timestamp times=new Timestamp(System.currentTimeMillis());
	     DbUtil.execute(ctx, sql, new Object[] {times});	     
	}
}
